package com.zhuyi.broadcast.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


/**
 * 轮播计划节目实体类
 */
@Data
@TableName("bc_relation_program_schedule")
public class ScheduleProgramRelation {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;  // 主键ID

    @TableField("program_id")
    private Long programId;  // 节目ID

    @TableField("schedule_id")
    private Long scheduleId; // 轮播计划ID

    @TableField("duration")
    private Long duration; // 播放时长

    /** 配置,预留字段 */
    @TableField("config")
    private String config;
}
